<div class="form-group">
    <label class="col-sm-2 control-label">{{'日期选择'}}</label>
    <div class="col-sm-8" style="width: 390px">
        <div class="input-group input-group-sm">
            <div class="input-group-addon">
                <i class="fa fa-calendar"></i>
            </div>
            <input class="form-control" type="text" id="test1" value="{{request()->input('dateTime')}}">
			<script src="/laydate/laydate.js"></script> <!-- 改成你的路径 -->
			<script>
			//执行一个laydate实例
			laydate.render({
			  elem: '#test1',
              value: '{{date('Y-m-d', time())}}',
              done:function (value) {
			      window.location = '{{url('daily-chart?dateTime=')}}'+ value;
              }
			});
			</script>
        </div>
    </div>
</div>